Function is not pulling up the entire array value in typescript

welcome to shbcf.ru